<?php
/**
 * Created by PhpStorm.
 * User: lscm
 * Date: 14-7-11
 * Time: 下午5:17
 */

namespace common;



require(dbutil.php);
class dbitem {
    protected $tbName;
    protected $columns;
    function __construct($columns, $existInDB,$dbName=dbutil::dbName, $tbName){
        $this->columns = $columns;
    }
    function insert(){
        if(!$this->existInDB){
            $this->existInDB = true;
        }
    }
    function update($column, $value){
        if($this->exist){
            $con = dbutil::getConnect();
        }
    }
} 